Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new -var args for tf plan. #300

Merged
merged 2 commits into from
Oct 1, 2018
Merged

Add new -var args for tf plan. #300

merged 2 commits into from
Oct 1, 2018

Conversation

lkysow
Copy link
Member

@lkysow lkysow commented Oct 1, 2018

Previously we added -var atlantis_repo=runatlantis/atlantis but the '/'
character is not a valid character for the AWS assume role session name.
To fix this, this commit adds -var atlantis_repo_owner=runatlantis and
-var atlantis_repo_name=atlantis (where runatlantis and atlantis would
be the values for the repo the pull request is from ).

Previously we added -var atlantis_repo=runatlantis/atlantis but the '/'
character is not a valid character for the AWS assume role session name.
To fix this, this commit adds -var atlantis_repo_owner=runatlantis and
-var atlantis_repo_name=atlantis (where runatlantis and atlantis would
be the values for the repo the pull request is from ).
@codecov
Copy link

codecov bot commented Oct 1, 2018

Codecov Report

Merging #300 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #300      +/-   ##
==========================================
+ Coverage    70.5%   70.54%   +0.03%     
==========================================
  Files          61       61              
  Lines        3635     3639       +4     
==========================================
+ Hits         2563     2567       +4     
  Misses        893      893              
  Partials      179      179
Impacted Files Coverage Δ
server/events/runtime/plan_step_runner.go 93.33% <100%> (+0.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d630333...2881bd9. Read the comment docs.

Copy link
Contributor

@jolexa jolexa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it makes sense to pass the ctx into the tfVars function

@lkysow lkysow merged commit 5f26c81 into master Oct 1, 2018
@lkysow lkysow deleted the atlantis-vars branch October 1, 2018 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants